package cn.wit.test;

/**
 * 打印二维数组，从上往下，从左往右
 * 
 * @author 16604
 *
 */
public class DemoTwoArraysDownToUpAndRightToLeft {
	public static void main(String[] args) {
		int[][] scores = { { 11, 12, 13, 14 }, { 21, 22, 23, 24 }, { 31, 32, 33, 34 } };
		printTwoArrays(scores);
	}

	public static void printTwoArrays(int[][] sc) {
		for (int i = sc.length - 1; i >= 0; i--) {
			for (int j = sc[i].length - 1; j >= 0; j--) {
				System.out.print(sc[i][j] + " ");
			}
			System.out.println("");
		}

	}
}
